package com.yanqu.road.entity.log.cross.newMonopolyMarket.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_c_ck_new_monopoly_market_search_log_data",desc = "榷场-资源点搜索",autoSave = true,uploadCk = true,isCross = true)
public class NewMonopolyMarketSearchLogData extends ServerBaseLog {

    @FieldTypeAnnotation(isIndex = true ,desc = "分组id")
    private long groupId;
    @FieldTypeAnnotation(desc = "周id",isIndex = true)
    private int weekId;
    @FieldTypeAnnotation(desc = "资源分组id")
    private long resGroupId;
    @FieldTypeAnnotation(desc = "玩家",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "资源类型")
    private int resType;
    @FieldTypeAnnotation(desc = "搜索结果")
    private int pos;
    @FieldTypeAnnotation(desc = "对手id")
    private long targetId;

    public NewMonopolyMarketSearchLogData(long groupId, int weekId, long resGroupId, long userId, int resType, int pos, long targetId) {
        this.groupId = groupId;
        this.weekId = weekId;
        this.resGroupId = resGroupId;
        this.userId = userId;
        this.resType = resType;
        this.pos = pos;
        this.targetId = targetId;
    }

    public long getGroupId() {
        return groupId;
    }

    public void setGroupId(long groupId) {
        this.groupId = groupId;
    }

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    public long getResGroupId() {
        return resGroupId;
    }

    public void setResGroupId(long resGroupId) {
        this.resGroupId = resGroupId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getResType() {
        return resType;
    }

    public void setResType(int resType) {
        this.resType = resType;
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        this.pos = pos;
    }

    public long getTargetId() {
        return targetId;
    }

    public void setTargetId(long targetId) {
        this.targetId = targetId;
    }

}
